package com.example.orderservice.pojo.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 鱼凫
 * @version 1.0
 * Create by 2023/4/11 22:10
 */
@Data
@TableName(value ="discount_user")
public class DiscountUserPO implements Serializable {

    @TableId
    private String id;

    @TableField("d_id")
    private String dId;

    @TableField("uid")
    private String uid;

    @TableField("is_used")
    private Integer isUsed;

    @TableLogic
    @TableField("is_deleted")
    private Integer isDeleted;

    @TableField("create_by")
    private String createBy;

    @TableField("create_time")
    private Date createTime;

    @TableField("update_by")
    private String updateBy;

    @TableField("update_time")
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}
